package contents.entities;

public class Timetable {
    private int timetableId;
    private Subject subject;
    private Teacher teacher;
    private Class timetableClass;
    private int day;
    private int time;

    public Timetable(int timetableId, Subject subject, Teacher teacher, Class timetableClass, int day, int time) {
        this.timetableId = timetableId;
        this.subject = subject;
        this.teacher = teacher;
        this.timetableClass = timetableClass;
        this.day = day;
        this.time = time;
    }

    public int getTimetableId() {
        return timetableId;
    }
    
    public Subject getSubject() {
        return subject;
    }

    public Teacher getTeacher() {
        return teacher;
    }
    
    public Class getTimetableClass() {
        return timetableClass;
    }

    public int getDay() {
        return day;
    }

    public int getTime() {
        return time;
    }

    /*
     * For purpose of web service.
     */
    public void setDay(int day) {
        this.day = day;
    }

    /*
     * For purpose of web service.
     */
    public void setSubject(Subject subject) {
        this.subject = subject;
    }

    /*
     * For purpose of web service.
     */
    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    /*
     * For purpose of web service.
     */
    public void setTime(int time) {
        this.time = time;
    }

    /*
     * For purpose of web service.
     */
    public void setTimetableClass(Class timetableClass) {
        this.timetableClass = timetableClass;
    }

    /*
     * For purpose of web service.
     */
    public void setTimetableId(int timetableId) {
        this.timetableId = timetableId;
    }
}
